Skip to content

Recover attribution after nuanced Trace2 gaps - #2074

Open
svarlamov wants to merge 5 commits into
codex/missing-trace2-recovery-corefrom
codex/missing-trace2-recovery-rewrites
Open

Recover attribution after nuanced Trace2 gaps#2074
svarlamov wants to merge 5 commits into
codex/missing-trace2-recovery-corefrom
codex/missing-trace2-recovery-rewrites

Conversation

@svarlamov

@svarlamov svarlamov commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • add TestRepo coverage for commit, amend, reset, rebase, pull merge/rebase, merge, squash merge, cherry-pick, revert, stash, branch force, and update-ref recovery after missing Trace2 events
  • test multi-commit and multi-source spans, rename preservation, symbolic stash targets, stdin ref transactions, linked worktrees, and duplicate reflog history
  • select the current pull-rebase span using its captured ingress boundary
  • reconcile symbolic stash targets with the command-start stash tip after missed stack mutations
  • process branch force rewrites through the same exact RefUpdated path as update-ref
  • bound unstructured update-ref transactions to the current command so missed transactions remain unattributed
  • keep recovery in memory over already captured refs and reflogs; no new Git calls or ingestion-path I/O

Test plan

  • task test CARGO_TEST_ARGS="--test integration" (3292 passed, 89 ignored)
  • task test CARGO_TEST_ARGS="--test commit_tree_update_ref" (39 passed, 2 ignored)
  • task lint
  • task fmt

Depends on #2073.

Stack: 2 of 2.

@svarlamov svarlamov changed the title Recover rebase attribution after missed Trace2 spans Recover attribution after nuanced Trace2 gaps Aug 3, 2026
@svarlamov
svarlamov marked this pull request as ready for review August 3, 2026 14:27
devin-ai-integration[bot]

This comment was marked as resolved.

@svarlamov
svarlamov force-pushed the codex/missing-trace2-recovery-rewrites branch from 29d87d2 to b19dacc Compare August 3, 2026 14:35
devin-ai-integration[bot]

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant